home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / a2.0bemacs-src.lha / Emacs-19.25 / lisp / find-dired.elc < prev    next >
Emacs Compiled Lisp  |  1994-05-04  |  4.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6b 77 7a 68 40 68 61 |piled by| kwzh@ha|
|00000020| 6c 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |l.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 54 75 65 20 | 4d 61 79 20 20 33 20 32 | on Tue |May 3 2|
|00000040| 31 3a 34 38 3a 31 36 20 | 31 39 39 34 0a 3b 3b 3b |1:48:16 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 67 64 2f 67 | from fi|le /gd/g|
|00000060| 6e 75 2f 65 6d 61 63 73 | 2f 31 39 2e 30 2f 6c 69 |nu/emacs|/19.0/li|
|00000070| 73 70 2f 66 69 6e 64 2d | 64 69 72 65 64 2e 65 6c |sp/find-|dired.el|
|00000080| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|00000090| 6f 6e 20 31 39 2e 32 32 | 2e 39 32 2e 32 2e 0a 3b |on 19.22|.92.2..;|
|000000a0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000b0| 69 6f 6e 20 46 53 46 20 | 32 2e 31 30 0a 3b 3b 3b |ion FSF |2.10.;;;|
|000000c0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|000000d0| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|000000e0| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|000000f0| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|00000100| 73 74 20 69 6e 20 45 6d | 61 63 73 20 31 38 2e 0a |st in Em|acs 18..|
|00000110| 0a 28 69 66 20 28 61 6e | 64 20 28 62 6f 75 6e 64 |.(if (an|d (bound|
|00000120| 70 20 27 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |p 'emacs|-version|
|00000130| 29 0a 09 20 28 6f 72 20 | 28 61 6e 64 20 28 62 6f |).. (or |(and (bo|
|00000140| 75 6e 64 70 20 27 65 70 | 6f 63 68 3a 3a 76 65 72 |undp 'ep|och::ver|
|00000150| 73 69 6f 6e 29 20 65 70 | 6f 63 68 3a 3a 76 65 72 |sion) ep|och::ver|
|00000160| 73 69 6f 6e 29 0a 09 20 | 20 20 20 20 28 73 74 72 |sion).. | (str|
|00000170| 69 6e 67 2d 6c 65 73 73 | 70 20 65 6d 61 63 73 2d |ing-less|p emacs-|
|00000180| 76 65 72 73 69 6f 6e 20 | 22 31 39 22 29 29 29 0a |version |"19"))).|
|00000190| 20 20 20 20 28 65 72 72 | 6f 72 20 22 60 2f 67 64 | (err|or "`/gd|
|000001a0| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|000001b0| 6c 69 73 70 2f 66 69 6e | 64 2d 64 69 72 65 64 2e |lisp/fin|d-dired.|
|000001c0| 65 6c 27 20 77 61 73 20 | 63 6f 6d 70 69 6c 65 64 |el' was |compiled|
|000001d0| 20 66 6f 72 20 45 6d 61 | 63 73 20 31 39 22 29 29 | for Ema|cs 19"))|
|000001e0| 0a 0a 28 64 65 66 63 6f | 6e 73 74 20 66 69 6e 64 |..(defco|nst find|
|000001f0| 2d 64 69 72 65 64 2d 76 | 65 72 73 69 6f 6e 20 28 |-dired-v|ersion (|
|00000200| 73 75 62 73 74 72 69 6e | 67 20 22 24 52 65 76 69 |substrin|g "$Revi|
|00000210| 73 69 6f 6e 3a 20 31 2e | 31 36 20 24 22 20 31 31 |sion: 1.|16 $" 11|
|00000220| 20 2d 32 29 20 22 5c 0a | 24 49 64 3a 20 66 69 6e | -2) "\.|$Id: fin|
|00000230| 64 2d 64 69 72 65 64 2e | 65 6c 2c 76 20 31 2e 31 |d-dired.|el,v 1.1|
|00000240| 36 20 31 39 39 34 2f 30 | 35 2f 30 33 20 32 33 3a |6 1994/0|5/03 23:|
|00000250| 33 39 3a 35 35 20 6b 77 | 7a 68 20 45 78 70 20 24 |39:55 kw|zh Exp $|
|00000260| 22 29 0a 28 72 65 71 75 | 69 72 65 20 28 71 75 6f |").(requ|ire (quo|
|00000270| 74 65 20 64 69 72 65 64 | 29 29 0a 28 64 65 66 76 |te dired|)).(defv|
|00000280| 61 72 20 66 69 6e 64 2d | 6c 73 2d 6f 70 74 69 6f |ar find-|ls-optio|
|00000290| 6e 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 c1 |n (byte-|code "..|
|000002a0| 3d 83 08 00 c2 87 c3 87 | 22 20 5b 73 79 73 74 65 |=.......|" [syste|
|000002b0| 6d 2d 74 79 70 65 20 62 | 65 72 6b 65 6c 65 79 2d |m-type b|erkeley-|
|000002c0| 75 6e 69 78 20 22 2d 6c | 73 22 20 22 2d 65 78 65 |unix "-l|s" "-exe|
|000002d0| 63 20 6c 73 20 2d 6c 64 | 69 20 7b 7d 20 5c 5c 3b |c ls -ld|i {} \\;|
|000002e0| 22 5d 20 32 29 20 22 5c | 0a 2a 4f 70 74 69 6f 6e |"] 2) "\|.*Option|
|000002f0| 20 74 6f 20 60 66 69 6e | 64 27 20 74 6f 20 70 72 | to `fin|d' to pr|
|00000300| 6f 64 75 63 65 20 61 6e | 20 60 6c 73 20 2d 6c 27 |oduce an| `ls -l'|
|00000310| 2d 74 79 70 65 20 6c 69 | 73 74 69 6e 67 2e 22 29 |-type li|sting.")|
|00000320| 0a 28 64 65 66 76 61 72 | 20 66 69 6e 64 2d 67 72 |.(defvar| find-gr|
|00000330| 65 70 2d 6f 70 74 69 6f | 6e 73 20 28 62 79 74 65 |ep-optio|ns (byte|
|00000340| 2d 63 6f 64 65 20 22 08 | c1 3d 83 08 00 c2 87 c3 |-code ".|.=......|
|00000350| 87 22 20 5b 73 79 73 74 | 65 6d 2d 74 79 70 65 20 |." [syst|em-type |
|00000360| 62 65 72 6b 65 6c 65 79 | 2d 75 6e 69 78 20 22 2d |berkeley|-unix "-|
|00000370| 73 22 20 22 2d 6c 22 5d | 20 32 29 20 22 5c 0a 2a |s" "-l"]| 2) "\.*|
|00000380| 4f 70 74 69 6f 6e 20 74 | 6f 20 67 72 65 70 20 74 |Option t|o grep t|
|00000390| 6f 20 62 65 20 61 73 20 | 73 69 6c 65 6e 74 20 61 |o be as |silent a|
|000003a0| 73 20 70 6f 73 73 69 62 | 6c 65 2e 0a 4f 6e 20 42 |s possib|le..On B|
|000003b0| 65 72 6b 65 6c 65 79 20 | 73 79 73 74 65 6d 73 2c |erkeley |systems,|
|000003c0| 20 74 68 69 73 20 69 73 | 20 60 2d 73 27 2c 20 66 | this is| `-s', f|
|000003d0| 6f 72 20 6f 74 68 65 72 | 73 20 69 74 20 73 65 65 |or other|s it see|
|000003e0| 6d 73 20 69 6d 70 6f 73 | 73 69 62 6c 65 20 74 6f |ms impos|sible to|
|000003f0| 0a 73 75 70 70 72 65 73 | 73 20 61 6c 6c 20 6f 75 |.suppres|s all ou|
|00000400| 74 70 75 74 2c 20 73 6f | 20 60 2d 6c 27 20 69 73 |tput, so| `-l' is|
|00000410| 20 75 73 65 64 20 74 6f | 20 70 72 69 6e 74 20 6e | used to| print n|
|00000420| 6f 74 68 69 6e 67 20 6d | 6f 72 65 20 74 68 61 6e |othing m|ore than|
|00000430| 20 74 68 65 0a 66 69 6c | 65 20 6e 61 6d 65 2e 22 | the.fil|e name."|
|00000440| 29 0a 28 64 65 66 76 61 | 72 20 66 69 6e 64 2d 61 |).(defva|r find-a|
|00000450| 72 67 73 20 6e 69 6c 20 | 22 5c 0a 4c 61 73 74 20 |rgs nil |"\.Last |
|00000460| 61 72 67 75 6d 65 6e 74 | 73 20 67 69 76 65 6e 20 |argument|s given |
|00000470| 74 6f 20 60 66 69 6e 64 | 27 20 62 79 20 5c 5c 5b |to `find|' by \\[|
|00000480| 66 69 6e 64 2d 64 69 72 | 65 64 5d 2e 22 29 0a 28 |find-dir|ed].").(|
|00000490| 64 65 66 61 6c 69 61 73 | 20 27 66 69 6e 64 2d 64 |defalias| 'find-d|
|000004a0| 69 72 65 64 20 23 5b 28 | 64 69 72 20 61 72 67 73 |ired #[(|dir args|
|000004b0| 29 20 22 c0 c1 5c 6e 21 | 21 12 c3 5c 6e 21 84 11 |) "..\n!|!..\n!..|
|000004c0| 00 c4 c5 5c 6e 5c 22 88 | c6 c7 c8 21 21 88 7e 88 |...\n\".|...!!.~.|
|000004d0| c9 20 88 ca 16 0b cc 20 | 88 5c 6e 16 0d 0e 0e 16 |. ..... |.\n.....|
|000004e0| 0f d0 0e 0e d1 98 83 35 | 00 d1 82 3a 00 d2 0e 0e |.......5|...:....|
|000004f0| d3 51 0e 14 51 16 0e d5 | 5c 6e d6 5c 22 88 d7 d8 |.Q..Q...|\n.\"...|
|00000500| 21 83 50 00 d8 20 88 82 | 5b 00 d9 da 21 0e 0d db |!.P.. ..|[...!...|
|00000510| 20 42 43 4c 88 ca 16 0b | dc 5c 6e dd b1 03 88 dc | BCL....|.\n.....|
|00000520| 0e 0e de b1 03 88 df e0 | e1 70 0e 0e 23 e2 5c 22 |........|.p..#.\"|
|00000530| 88 e3 e4 70 21 e5 5c 22 | 88 e6 89 16 27 87 22 20 |...p!.\"|....'." |
|00000540| 5b 66 69 6c 65 2d 6e 61 | 6d 65 2d 61 73 2d 64 69 |[file-na|me-as-di|
|00000550| 72 65 63 74 6f 72 79 20 | 65 78 70 61 6e 64 2d 66 |rectory |expand-f|
|00000560| 69 6c 65 2d 6e 61 6d 65 | 20 64 69 72 20 66 69 6c |ile-name| dir fil|
|00000570| 65 2d 64 69 72 65 63 74 | 6f 72 79 2d 70 20 65 72 |e-direct|ory-p er|
|00000580| 72 6f 72 20 22 66 69 6e | 64 2d 64 69 72 65 64 20 |ror "fin|d-dired |
|00000590| 6e 65 65 64 73 20 61 20 | 64 69 72 65 63 74 6f 72 |needs a |director|
|000005a0| 79 3a 20 25 73 22 20 73 | 77 69 74 63 68 2d 74 6f |y: %s" s|witch-to|
|000005b0| 2d 62 75 66 66 65 72 20 | 67 65 74 2d 62 75 66 66 |-buffer |get-buff|
|000005c0| 65 72 2d 63 72 65 61 74 | 65 20 22 2a 46 69 6e 64 |er-creat|e "*Find|
|000005d0| 2a 22 20 6b 69 6c 6c 2d | 61 6c 6c 2d 6c 6f 63 61 |*" kill-|all-loca|
|000005e0| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 6e 69 6c 20 |l-variab|les nil |
|000005f0| 62 75 66 66 65 72 2d 72 | 65 61 64 2d 6f 6e 6c 79 |buffer-r|ead-only|
|00000600| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 64 65 | erase-b|uffer de|
|00000610| 66 61 75 6c 74 2d 64 69 | 72 65 63 74 6f 72 79 20 |fault-di|rectory |
|00000620| 61 72 67 73 20 66 69 6e | 64 2d 61 72 67 73 20 22 |args fin|d-args "|
|00000630| 66 69 6e 64 20 2e 20 22 | 20 22 22 20 22 5c 5c 28 |find . "| "" "\\(|
|00000640| 20 22 20 22 20 5c 5c 29 | 20 22 20 66 69 6e 64 2d | " " \\)| " find-|
|00000650| 6c 73 2d 6f 70 74 69 6f | 6e 20 64 69 72 65 64 2d |ls-optio|n dired-|
|00000660| 6d 6f 64 65 20 22 2d 67 | 69 6c 73 62 22 20 66 62 |mode "-g|ilsb" fb|
|00000670| 6f 75 6e 64 70 20 64 69 | 72 65 64 2d 73 69 6d 70 |oundp di|red-simp|
|00000680| 6c 65 2d 73 75 62 64 69 | 72 2d 61 6c 69 73 74 20 |le-subdi|r-alist |
|00000690| 6d 61 6b 65 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |make-loc|al-varia|
|000006a0| 62 6c 65 20 64 69 72 65 | 64 2d 73 75 62 64 69 72 |ble dire|d-subdir|
|000006b0| 2d 61 6c 69 73 74 20 70 | 6f 69 6e 74 2d 6d 69 6e |-alist p|oint-min|
|000006c0| 2d 6d 61 72 6b 65 72 20 | 22 20 20 22 20 22 3a 5c |-marker |" " ":\|
|000006d0| 6e 22 20 22 5c 6e 22 20 | 73 65 74 2d 70 72 6f 63 |n" "\n" |set-proc|
|000006e0| 65 73 73 2d 66 69 6c 74 | 65 72 20 73 74 61 72 74 |ess-filt|er start|
|000006f0| 2d 70 72 6f 63 65 73 73 | 2d 73 68 65 6c 6c 2d 63 |-process|-shell-c|
|00000700| 6f 6d 6d 61 6e 64 20 22 | 66 69 6e 64 22 20 66 69 |ommand "|find" fi|
|00000710| 6e 64 2d 64 69 72 65 64 | 2d 66 69 6c 74 65 72 20 |nd-dired|-filter |
|00000720| 73 65 74 2d 70 72 6f 63 | 65 73 73 2d 73 65 6e 74 |set-proc|ess-sent|
|00000730| 69 6e 65 6c 20 67 65 74 | 2d 62 75 66 66 65 72 2d |inel get|-buffer-|
|00000740| 70 72 6f 63 65 73 73 20 | 66 69 6e 64 2d 64 69 72 |process |find-dir|
|00000750| 65 64 2d 73 65 6e 74 69 | 6e 65 6c 20 28 22 3a 25 |ed-senti|nel (":%|
|00000760| 73 22 29 20 6d 6f 64 65 | 2d 6c 69 6e 65 2d 70 72 |s") mode|-line-pr|
|00000770| 6f 63 65 73 73 5d 20 35 | 20 22 5c 0a 52 75 6e 20 |ocess] 5| "\.Run |
|00000780| 60 66 69 6e 64 27 20 61 | 6e 64 20 67 6f 20 69 6e |`find' a|nd go in|
|00000790| 74 6f 20 64 69 72 65 64 | 2d 6d 6f 64 65 20 6f 6e |to dired|-mode on|
|000007a0| 20 61 20 62 75 66 66 65 | 72 20 6f 66 20 74 68 65 | a buffe|r of the|
|000007b0| 20 6f 75 74 70 75 74 2e | 0a 54 68 65 20 63 6f 6d | output.|.The com|
|000007c0| 6d 61 6e 64 20 72 75 6e | 20 28 61 66 74 65 72 20 |mand run| (after |
|000007d0| 63 68 61 6e 67 69 6e 67 | 20 69 6e 74 6f 20 44 49 |changing| into DI|
|000007e0| 52 29 20 69 73 0a 0a 20 | 20 20 20 66 69 6e 64 20 |R) is.. | find |
|000007f0| 2e 20 5c 5c 28 20 41 52 | 47 53 20 5c 5c 29 20 2d |. \\( AR|GS \\) -|
|00000800| 6c 73 22 20 28 6c 69 73 | 74 20 28 72 65 61 64 2d |ls" (lis|t (read-|
|00000810| 66 69 6c 65 2d 6e 61 6d | 65 20 22 52 75 6e 20 66 |file-nam|e "Run f|
|00000820| 69 6e 64 20 69 6e 20 64 | 69 72 65 63 74 6f 72 79 |ind in d|irectory|
|00000830| 3a 20 22 20 6e 69 6c 20 | 22 22 20 74 29 20 28 69 |: " nil |"" t) (i|
|00000840| 66 20 28 66 65 61 74 75 | 72 65 70 20 28 71 75 6f |f (featu|rep (quo|
|00000850| 74 65 20 67 6d 68 69 73 | 74 29 29 20 28 72 65 61 |te gmhis|t)) (rea|
|00000860| 64 2d 77 69 74 68 2d 68 | 69 73 74 6f 72 79 2d 69 |d-with-h|istory-i|
|00000870| 6e 20 28 71 75 6f 74 65 | 20 66 69 6e 64 2d 61 72 |n (quote| find-ar|
|00000880| 67 73 2d 68 69 73 74 6f | 72 79 29 20 22 52 75 6e |gs-histo|ry) "Run|
|00000890| 20 66 69 6e 64 20 28 77 | 69 74 68 20 61 72 67 73 | find (w|ith args|
|000008a0| 29 3a 20 22 29 20 28 72 | 65 61 64 2d 73 74 72 69 |): ") (r|ead-stri|
|000008b0| 6e 67 20 22 52 75 6e 20 | 66 69 6e 64 20 28 77 69 |ng "Run |find (wi|
|000008c0| 74 68 20 61 72 67 73 29 | 3a 20 22 20 66 69 6e 64 |th args)|: " find|
|000008d0| 2d 61 72 67 73 29 29 29 | 5d 29 0a 28 64 65 66 61 |-args)))|]).(defa|
|000008e0| 6c 69 61 73 20 27 66 69 | 6e 64 2d 6e 61 6d 65 2d |lias 'fi|nd-name-|
|000008f0| 64 69 72 65 64 20 23 5b | 28 64 69 72 20 70 61 74 |dired #[|(dir pat|
|00000900| 74 65 72 6e 29 20 22 c0 | 09 c2 0b c4 51 5c 22 87 |tern) ".|....Q\".|
|00000910| 22 20 5b 66 69 6e 64 2d | 64 69 72 65 64 20 64 69 |" [find-|dired di|
|00000920| 72 20 22 2d 6e 61 6d 65 | 20 27 22 20 70 61 74 74 |r "-name| '" patt|
|00000930| 65 72 6e 20 22 27 22 5d | 20 35 20 22 5c 0a 53 65 |ern "'"]| 5 "\.Se|
|00000940| 61 72 63 68 20 44 49 52 | 20 72 65 63 75 72 73 69 |arch DIR| recursi|
|00000950| 76 65 6c 79 20 66 6f 72 | 20 66 69 6c 65 73 20 6d |vely for| files m|
|00000960| 61 74 63 68 69 6e 67 20 | 74 68 65 20 67 6c 6f 62 |atching |the glob|
|00000970| 62 69 6e 67 20 70 61 74 | 74 65 72 6e 20 50 41 54 |bing pat|tern PAT|
|00000980| 54 45 52 4e 2c 0a 61 6e | 64 20 72 75 6e 20 64 69 |TERN,.an|d run di|
|00000990| 72 65 64 20 6f 6e 20 74 | 68 6f 73 65 20 66 69 6c |red on t|hose fil|
|000009a0| 65 73 2e 0a 50 41 54 54 | 45 52 4e 20 69 73 20 61 |es..PATT|ERN is a|
|000009b0| 20 73 68 65 6c 6c 20 77 | 69 6c 64 63 61 72 64 20 | shell w|ildcard |
|000009c0| 28 6e 6f 74 20 61 6e 20 | 45 6d 61 63 73 20 72 65 |(not an |Emacs re|
|000009d0| 67 65 78 70 29 20 61 6e | 64 20 6e 65 65 64 20 6e |gexp) an|d need n|
|000009e0| 6f 74 20 62 65 20 71 75 | 6f 74 65 64 2e 0a 54 68 |ot be qu|oted..Th|
|000009f0| 65 20 63 6f 6d 6d 61 6e | 64 20 72 75 6e 20 28 61 |e comman|d run (a|
|00000a00| 66 74 65 72 20 63 68 61 | 6e 67 69 6e 67 20 69 6e |fter cha|nging in|
|00000a10| 74 6f 20 44 49 52 29 20 | 69 73 0a 0a 20 20 20 20 |to DIR) |is.. |
|00000a20| 66 69 6e 64 20 2e 20 2d | 6e 61 6d 65 20 27 50 41 |find . -|name 'PA|
|00000a30| 54 54 45 52 4e 27 20 2d | 6c 73 22 20 22 44 46 69 |TTERN' -|ls" "DFi|
|00000a40| 6e 64 2d 6e 61 6d 65 20 | 28 64 69 72 65 63 74 6f |nd-name |(directo|
|00000a50| 72 79 29 3a 20 5c 6e 73 | 46 69 6e 64 2d 6e 61 6d |ry): \ns|Find-nam|
|00000a60| 65 20 28 66 69 6c 65 6e | 61 6d 65 20 77 69 6c 64 |e (filen|ame wild|
|00000a70| 63 61 72 64 29 3a 20 22 | 5d 29 0a 28 64 65 66 61 |card): "|]).(defa|
|00000a80| 6c 69 61 73 20 28 71 75 | 6f 74 65 20 6c 6f 6f 6b |lias (qu|ote look|
|00000a90| 66 6f 72 2d 64 69 72 65 | 64 29 20 28 71 75 6f 74 |for-dire|d) (quot|
|00000aa0| 65 20 66 69 6e 64 2d 67 | 72 65 70 2d 64 69 72 65 |e find-g|rep-dire|
|00000ab0| 64 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 66 |d)).(def|alias 'f|
|00000ac0| 69 6e 64 2d 67 72 65 70 | 2d 64 69 72 65 64 20 23 |ind-grep|-dired #|
|00000ad0| 5b 28 64 69 72 20 61 72 | 67 73 29 20 22 c0 09 c2 |[(dir ar|gs) "...|
|00000ae0| 0b c4 0d c6 b0 05 5c 22 | 87 22 20 5b 66 69 6e 64 |......\"|." [find|
|00000af0| 2d 64 69 72 65 64 20 64 | 69 72 20 22 21 20 2d 74 |-dired d|ir "! -t|
|00000b00| 79 70 65 20 64 20 2d 65 | 78 65 63 20 67 72 65 70 |ype d -e|xec grep|
|00000b10| 20 22 20 66 69 6e 64 2d | 67 72 65 70 2d 6f 70 74 | " find-|grep-opt|
|00000b20| 69 6f 6e 73 20 22 20 22 | 20 61 72 67 73 20 22 20 |ions " "| args " |
|00000b30| 7b 7d 20 5c 5c 3b 20 22 | 5d 20 37 20 22 5c 0a 46 |{} \\; "|] 7 "\.F|
|00000b40| 69 6e 64 20 66 69 6c 65 | 73 20 69 6e 20 44 49 52 |ind file|s in DIR|
|00000b50| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 61 20 72 65 | contain|ing a re|
|00000b60| 67 65 78 70 20 41 52 47 | 20 61 6e 64 20 73 74 61 |gexp ARG| and sta|
|00000b70| 72 74 20 44 69 72 65 64 | 20 6f 6e 20 6f 75 74 70 |rt Dired| on outp|
|00000b80| 75 74 2e 0a 54 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |ut..The |command |
|00000b90| 72 75 6e 20 28 61 66 74 | 65 72 20 63 68 61 6e 67 |run (aft|er chang|
|00000ba0| 69 6e 67 20 69 6e 74 6f | 20 44 49 52 29 20 69 73 |ing into| DIR) is|
|00000bb0| 0a 0a 20 20 20 20 66 69 | 6e 64 20 2e 20 2d 65 78 |.. fi|nd . -ex|
|00000bc0| 65 63 20 67 72 65 70 20 | 2d 73 20 41 52 47 20 7b |ec grep |-s ARG {|
|00000bd0| 7d 20 5c 5c 3b 20 2d 6c | 73 0a 0a 54 68 75 73 20 |} \\; -l|s..Thus |
|00000be0| 41 52 47 20 63 61 6e 20 | 61 6c 73 6f 20 63 6f 6e |ARG can |also con|
|00000bf0| 74 61 69 6e 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |tain add|itional |
|00000c00| 67 72 65 70 20 6f 70 74 | 69 6f 6e 73 2e 22 20 22 |grep opt|ions." "|
|00000c10| 44 46 69 6e 64 2d 67 72 | 65 70 20 28 64 69 72 65 |DFind-gr|ep (dire|
|00000c20| 63 74 6f 72 79 29 3a 20 | 5c 6e 73 46 69 6e 64 2d |ctory): |\nsFind-|
|00000c30| 67 72 65 70 20 28 67 72 | 65 70 20 61 72 67 73 29 |grep (gr|ep args)|
|00000c40| 3a 20 22 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |: "]).(b|yte-code|
|00000c50| 20 22 c0 c1 c2 5c 22 88 | c0 c3 c4 5c 22 88 c5 c6 | "...\".|...\"...|
|00000c60| 21 84 14 00 c6 c7 4d 88 | c8 c9 21 87 22 20 5b 64 |!.....M.|..!." [d|
|00000c70| 65 66 61 6c 69 61 73 20 | 66 69 6e 64 2d 64 69 72 |efalias |find-dir|
|00000c80| 65 64 2d 66 69 6c 74 65 | 72 20 23 5b 28 70 72 6f |ed-filte|r #[(pro|
|00000c90| 63 20 73 74 72 69 6e 67 | 29 20 22 c0 09 21 1a c3 |c string|) "..!..|
|00000ca0| 5c 6e 21 83 53 00 8a 5c | 6e 71 88 8c 7e 88 8a c4 |\n!.S..\|nq..~...|
|00000cb0| 64 1d 1e 06 0d 62 88 0e | 07 63 88 0d 62 88 c8 c9 |d....b..|.c..b...|
|00000cc0| 21 84 2a 00 ca 79 88 c8 | c9 21 83 39 00 cb 63 88 |!.*..y..|.!.9..c.|
|00000cd0| ca 79 88 82 2a 00 0d cc | 5a 62 88 cd ce c4 cf 23 |.y..*...|Zb.....#|
|00000ce0| 85 4f 00 60 60 d0 5a 7c | 88 82 3e 00 2d 82 56 00 |.O.``.Z||..>.-.V.|
|00000cf0| d1 09 21 29 87 22 20 5b | 70 72 6f 63 65 73 73 2d |..!)." [|process-|
|00000d00| 62 75 66 66 65 72 20 70 | 72 6f 63 20 62 75 66 20 |buffer p|roc buf |
|00000d10| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 6e 69 6c 20 |buffer-n|ame nil |
|00000d20| 65 6e 64 20 62 75 66 66 | 65 72 2d 72 65 61 64 2d |end buff|er-read-|
|00000d30| 6f 6e 6c 79 20 73 74 72 | 69 6e 67 20 6c 6f 6f 6b |only str|ing look|
|00000d40| 69 6e 67 2d 61 74 20 22 | 5e 22 20 31 20 22 20 20 |ing-at "|^" 1 " |
|00000d50| 22 20 33 20 73 65 61 72 | 63 68 2d 66 6f 72 77 61 |" 3 sear|ch-forwa|
|00000d60| 72 64 20 22 20 2e 2f 22 | 20 74 20 32 20 64 65 6c |rd " ./"| t 2 del|
|00000d70| 65 74 65 2d 70 72 6f 63 | 65 73 73 5d 20 34 5d 20 |ete-proc|ess] 4] |
|00000d80| 66 69 6e 64 2d 64 69 72 | 65 64 2d 73 65 6e 74 69 |find-dir|ed-senti|
|00000d90| 6e 65 6c 20 23 5b 28 70 | 72 6f 63 20 73 74 61 74 |nel #[(p|roc stat|
|00000da0| 65 29 20 22 c0 09 21 1a | c3 5c 6e 21 85 41 00 8a |e) "..!.|.\n!.A..|
|00000db0| 5c 6e 71 88 c4 1d 8a 64 | 62 88 c6 0e 07 b1 02 88 |\nq....d|b.......|
|00000dc0| c8 75 88 c9 ca 20 cb cc | 4f b1 02 88 cd 75 88 ce |.u... ..|O....u..|
|00000dd0| cf d0 09 21 21 50 16 11 | d2 09 21 88 d3 d4 20 21 |...!!P..|..!... !|
|00000de0| 88 2a d5 d6 70 5c 22 29 | 29 87 22 20 5b 70 72 6f |.*..p\")|)." [pro|
|00000df0| 63 65 73 73 2d 62 75 66 | 66 65 72 20 70 72 6f 63 |cess-buf|fer proc|
|00000e00| 20 62 75 66 20 62 75 66 | 66 65 72 2d 6e 61 6d 65 | buf buf|fer-name|
|00000e10| 20 6e 69 6c 20 62 75 66 | 66 65 72 2d 72 65 61 64 | nil buf|fer-read|
|00000e20| 2d 6f 6e 6c 79 20 22 5c | 6e 66 69 6e 64 20 22 20 |-only "\|nfind " |
|00000e30| 73 74 61 74 65 20 2d 31 | 20 22 20 61 74 20 22 20 |state -1| " at " |
|00000e40| 63 75 72 72 65 6e 74 2d | 74 69 6d 65 2d 73 74 72 |current-|time-str|
|00000e50| 69 6e 67 20 30 20 31 39 | 20 31 20 22 3a 22 20 73 |ing 0 19| 1 ":" s|
|00000e60| 79 6d 62 6f 6c 2d 6e 61 | 6d 65 20 70 72 6f 63 65 |ymbol-na|me proce|
|00000e70| 73 73 2d 73 74 61 74 75 | 73 20 6d 6f 64 65 2d 6c |ss-statu|s mode-l|
|00000e80| 69 6e 65 2d 70 72 6f 63 | 65 73 73 20 64 65 6c 65 |ine-proc|ess dele|
|00000e90| 74 65 2d 70 72 6f 63 65 | 73 73 20 73 65 74 2d 62 |te-proce|ss set-b|
|00000ea0| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p|
|00000eb0| 20 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 | buffer-|modified|
|00000ec0| 2d 70 20 6d 65 73 73 61 | 67 65 20 22 66 69 6e 64 |-p messa|ge "find|
|00000ed0| 2d 64 69 72 65 64 20 25 | 73 20 66 69 6e 69 73 68 |-dired %|s finish|
|00000ee0| 65 64 2e 22 5d 20 34 5d | 20 66 62 6f 75 6e 64 70 |ed."] 4]| fboundp|
|00000ef0| 20 73 74 61 72 74 2d 70 | 72 6f 63 65 73 73 2d 73 | start-p|rocess-s|
|00000f00| 68 65 6c 6c 2d 63 6f 6d | 6d 61 6e 64 20 23 5b 28 |hell-com|mand #[(|
|00000f10| 6e 61 6d 65 20 62 75 66 | 66 65 72 20 26 72 65 73 |name buf|fer &res|
|00000f20| 74 20 61 72 67 73 29 20 | 22 08 c1 3d 83 0e 00 c2 |t args) |"..=....|
|00000f30| c3 5c 66 0d 0e 06 24 87 | c3 5c 66 0d 0e 07 c8 c9 |.\f...$.|.\f.....|
|00000f40| ca cb 0e 06 cc 23 50 25 | 87 22 20 5b 73 79 73 74 |.....#P%|." [syst|
|00000f50| 65 6d 2d 74 79 70 65 20 | 76 61 78 2d 76 6d 73 20 |em-type |vax-vms |
|00000f60| 61 70 70 6c 79 20 73 74 | 61 72 74 2d 70 72 6f 63 |apply st|art-proc|
|00000f70| 65 73 73 20 6e 61 6d 65 | 20 62 75 66 66 65 72 20 |ess name| buffer |
|00000f80| 61 72 67 73 20 73 68 65 | 6c 6c 2d 66 69 6c 65 2d |args she|ll-file-|
|00000f90| 6e 61 6d 65 20 22 2d 63 | 22 20 22 65 78 65 63 20 |name "-c|" "exec |
|00000fa0| 22 20 6d 61 70 63 6f 6e | 63 61 74 20 69 64 65 6e |" mapcon|cat iden|
|00000fb0| 74 69 74 79 20 22 20 22 | 5d 20 31 30 20 22 53 74 |tity " "|] 10 "St|
|00000fc0| 61 72 74 20 61 20 70 72 | 6f 67 72 61 6d 20 69 6e |art a pr|ogram in|
|00000fd0| 20 61 20 73 75 62 70 72 | 6f 63 65 73 73 2e 20 20 | a subpr|ocess. |
|00000fe0| 52 65 74 75 72 6e 20 74 | 68 65 20 70 72 6f 63 65 |Return t|he proce|
|00000ff0| 73 73 20 6f 62 6a 65 63 | 74 20 66 6f 72 20 69 74 |ss objec|t for it|
|00001000| 2e 5c 6e 41 72 67 73 20 | 61 72 65 20 4e 41 4d 45 |.\nArgs |are NAME|
|00001010| 20 42 55 46 46 45 52 20 | 43 4f 4d 4d 41 4e 44 20 | BUFFER |COMMAND |
|00001020| 26 72 65 73 74 20 43 4f | 4d 4d 41 4e 44 2d 41 52 |&rest CO|MMAND-AR|
|00001030| 47 53 2e 5c 6e 4e 41 4d | 45 20 69 73 20 6e 61 6d |GS.\nNAM|E is nam|
|00001040| 65 20 66 6f 72 20 70 72 | 6f 63 65 73 73 2e 20 20 |e for pr|ocess. |
|00001050| 49 74 20 69 73 20 6d 6f | 64 69 66 69 65 64 20 69 |It is mo|dified i|
|00001060| 66 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 6d |f necess|ary to m|
|00001070| 61 6b 65 20 69 74 20 75 | 6e 69 71 75 65 2e 5c 6e |ake it u|nique.\n|
|00001080| 42 55 46 46 45 52 20 69 | 73 20 74 68 65 20 62 75 |BUFFER i|s the bu|
|00001090| 66 66 65 72 20 6f 72 20 | 28 62 75 66 66 65 72 2d |ffer or |(buffer-|
|000010a0| 6e 61 6d 65 29 20 74 6f | 20 61 73 73 6f 63 69 61 |name) to| associa|
|000010b0| 74 65 20 77 69 74 68 20 | 74 68 65 20 70 72 6f 63 |te with |the proc|
|000010c0| 65 73 73 2e 5c 6e 20 50 | 72 6f 63 65 73 73 20 6f |ess.\n P|rocess o|
|000010d0| 75 74 70 75 74 20 67 6f | 65 73 20 61 74 20 65 6e |utput go|es at en|
|000010e0| 64 20 6f 66 20 74 68 61 | 74 20 62 75 66 66 65 72 |d of tha|t buffer|
|000010f0| 2c 20 75 6e 6c 65 73 73 | 20 79 6f 75 20 73 70 65 |, unless| you spe|
|00001100| 63 69 66 79 5c 6e 20 61 | 6e 20 6f 75 74 70 75 74 |cify\n a|n output|
|00001110| 20 73 74 72 65 61 6d 20 | 6f 72 20 66 69 6c 74 65 | stream |or filte|
|00001120| 72 20 66 75 6e 63 74 69 | 6f 6e 20 74 6f 20 68 61 |r functi|on to ha|
|00001130| 6e 64 6c 65 20 74 68 65 | 20 6f 75 74 70 75 74 2e |ndle the| output.|
|00001140| 5c 6e 20 42 55 46 46 45 | 52 20 6d 61 79 20 62 65 |\n BUFFE|R may be|
|00001150| 20 61 6c 73 6f 20 6e 69 | 6c 2c 20 6d 65 61 6e 69 | also ni|l, meani|
|00001160| 6e 67 20 74 68 61 74 20 | 74 68 69 73 20 70 72 6f |ng that |this pro|
|00001170| 63 65 73 73 20 69 73 20 | 6e 6f 74 20 61 73 73 6f |cess is |not asso|
|00001180| 63 69 61 74 65 64 5c 6e | 20 77 69 74 68 20 61 6e |ciated\n| with an|
|00001190| 79 20 62 75 66 66 65 72 | 5c 6e 54 68 69 72 64 20 |y buffer|\nThird |
|000011a0| 61 72 67 20 69 73 20 63 | 6f 6d 6d 61 6e 64 20 6e |arg is c|ommand n|
|000011b0| 61 6d 65 2c 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |ame, the| name of|
|000011c0| 20 61 20 73 68 65 6c 6c | 20 63 6f 6d 6d 61 6e 64 | a shell| command|
|000011d0| 2e 5c 6e 52 65 6d 61 69 | 6e 69 6e 67 20 61 72 67 |.\nRemai|ning arg|
|000011e0| 75 6d 65 6e 74 73 20 61 | 72 65 20 74 68 65 20 61 |uments a|re the a|
|000011f0| 72 67 75 6d 65 6e 74 73 | 20 66 6f 72 20 74 68 65 |rguments| for the|
|00001200| 20 63 6f 6d 6d 61 6e 64 | 2e 5c 6e 57 69 6c 64 63 | command|.\nWildc|
|00001210| 61 72 64 73 20 61 6e 64 | 20 72 65 64 69 72 65 63 |ards and| redirec|
|00001220| 74 69 6f 6e 20 61 72 65 | 20 68 61 6e 64 6c 65 64 |tion are| handled|
|00001230| 20 61 73 20 75 73 75 61 | 6c 20 69 6e 20 74 68 65 | as usua|l in the|
|00001240| 20 73 68 65 6c 6c 2e 22 | 5d 20 70 72 6f 76 69 64 | shell."|] provid|
|00001250| 65 20 66 69 6e 64 2d 64 | 69 72 65 64 5d 20 33 29 |e find-d|ired] 3)|
|00001260| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+